<?php
/**********************************************************************************
WIKINDX: Bibliographic Management system.
Copyright (C)

This program is free software; you can redistribute it and/or modify it under the terms
of the GNU General Public License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program;
if not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

The WIKINDX Team 2007
sirfragalot@users.sourceforge.net
**********************************************************************************/
/*****
* ABOUT_en wikindx class - ENGLISH.
*
* NOTE TO TRANSLATORS:  1/  Both the class name and the constructor name should be changed to match the (case-sensitive) name of 
*				the folder your language files are in.  For example, if you are supplying a Klingon translation and 
*				your languages/ folder is languages/kn/, the class and constructor name for the file SUCCESS.php 
*				must both be SUCCESS_kn.
*
* NOTE TO DEVELOPERS:  1/ Any comments not preceeded by '//' will be ignored by the localization module.
*				2/  All comments and all define statements should each be on one line (no line breaks) and must each start at 
*					the beginning of the line for the localization module to work.
*				3/  The define constant must be in double quotes:  e.g. define("TEXT1", .......);
*****/
class ABOUT_en
{
// Constructor
	function ABOUT_en()
	{
// START__LOCALIZATION__MODULE__COPY
		$linkPhemplate = MISC::a("link", "phemplate", "http://pukomuko.esu.lt/phemplate/", "_blank");
		$linkAdodb = MISC::a("link", "ADOdb", "http://adodb.sourceforge.net", "_blank");
		$linkSfWikindx = MISC::a("link", "WIKINDX Sourceforge Project", 
			"http://sourceforge.net/projects/wikindx/", "_blank");
		$linkSf = MISC::a("link", "Sourceforge", "http://www.sourceforge.net", "_blank");

////////////////////////////////////////////////////////////////////////////////////
// TRANSLATORS start here.  Translate ONLY the second string in each define().
// START__LOCALIZATION__MODULE__DEFINES
define ("TEXT1", "The WIKINDX Bibliographic Management System has been brought to you by the following:");
define ("TEXT2", "<---Administrator--->");
define ("TEXT3", "Mark Grimshaw (New Zealand/UK)");
define ("TEXT4", "<---Developers--->");
// [retired] as in 'no longer with the wikindx team'
define ("TEXT5", "Andreas G. Nie (Germany) [retired]");
define ("TEXT6", "Jess Collicott (U.S.A) [retired]");
define ("TEXT7", "Mark Grimshaw (New Zealand/UK)");
define ("TEXT12", "Mark Tsikanovski (New Zealand) [retired]");
define ("TEXT13", "John Weare (New Zealand)");
// TRANSLATORS - add a credit to yourselves in TRANS2
// define ("TRANS1", "<---Translation--->");
// define ("TRANS2", "Your Name Goes Here");
define ("TEXT8", "Thanks to Tim Richter and Pascal Kockaert for their help with BibTeX importing.");
define ("TEXT9", "WIKINDX makes use of the $linkPhemplate HTML templating system and the $linkAdodb SQL abstraction layer.");
define ("TEXT10", "All updates, bug reports, forums, news etc. can be found at the $linkSfWikindx");
define ("TEXT11", "Thanks to $linkSf for hosting the project.");
define ("TEXT15", "Thanks to Frank Goergen, Brian Koontz and Benoit Beraud for their patience and doggedness with beta-testing.");
define ("TEXT16", "The WIKINDX Team ~ Copyright (C) 2007");
// END__LOCALIZATION__MODULE__DEFINES
// TRANSLATORS end here
////////////////////////////////////////////////////////////////////////////////////
// END__LOCALIZATION__MODULE__COPY

// Start the templating system
		include_once("core/template/TEMPLATE.php");
		$this->template = new TEMPLATE('content');
		include_once("core/messages/MESSAGES.php");
		$this->messages = new MESSAGES();
	}
// English messages
	function display()
	{
		include_once("core/html/MISC.php");
		include_once("core/messages/UTF8.php");
		$utf8 = new UTF8();

		$pString = MISC::p(TEXT1, FALSE, "center");
		$pString .= MISC::p(TEXT2 . MISC::br() . TEXT3, FALSE, "center");

		$pString .= MISC::p(TEXT4 . MISC::br() . TEXT7 . MISC::br() . TEXT13 . MISC::br() . TEXT12 . MISC::br() 
			. TEXT5 . MISC::br() . TEXT6, FALSE, "center");
		if(defined("TRANS1") && defined("TRANS2"))
			$pString .= MISC::p(TRANS1 . MISC::br() . TRANS2, FALSE, "center");
		$pString .= MISC::p(MISC::hr());

		$pString .= MISC::p(TEXT8);

		$pString .= MISC::p(TEXT15);

		$pString .= MISC::p(TEXT9);

		$pString .= MISC::p(TEXT10);

		$pString .= MISC::p(TEXT11);

		$pString .= MISC::p(MISC::hr());

// Since this is legal stuff, it's probably best to keep it in the original English
		$pString .= MISC::p("This program is free software; you can redistribute it and/or modify it 
		under the terms of the GNU General Public License as published by the Free Software Foundation; either
		version 2 of the License, or (at your option) any later version.");
		$pString .= MISC::p("If you do redistribute or modify the program, you must retain the copyright 
		information and WIKINDX contact details as found in each file.");
		
		$link = MISC::a("link", "GNU General Public License", "http://www.opensource.org/licenses/gpl-license.php", "_blank");
		$pString .= MISC::p("This program is distributed in the hope that it will be useful, but WITHOUT 
		ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
		See the $link for more details.");
		$pString .= MISC::p(TEXT16);
// End license
		$this->template->setVar('heading', $utf8->decodeUtf8($this->messages->text("heading", 'aboutWikindx')));
		$this->template->setVar('body', $pString);
		return $this->template->process();
	}
}
?>